package com.bootdo.front.dao;

import com.bootdo.front.domain.WorkExperienceDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 工作经验表
 * @author wjs
 * @email 1992lcg@163.com
 * @date 2020-02-17 21:18:08
 */
@Mapper
public interface WorkExperienceDao {

	WorkExperienceDO get(Long id);
	
	List<WorkExperienceDO> list(Map<String,Object> map);
	List<WorkExperienceDO> getByResumeId( @Param("resumeId") Long resumeId);

	int count(Map<String,Object> map);
	
	int save(WorkExperienceDO workExperience);
	
	int update(WorkExperienceDO workExperience);
	
	int remove(Long id);
	int removeByResumeId(@Param("resumeId") Long resumeId);
	
	int batchRemove(Long[] ids);
}
